Optimal. Leaf size=17 \[ -\frac {1}{2} E\left (\left .\cos ^{-1}(x)\right |2\right )-\frac {1}{2} F\left (\left .\cos ^{-1}(x)\right |2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {507, 436, 431}
\begin {gather*} -\frac {F(\text {ArcCos}(x)|2)}{2}-\frac {1}{2} E(\text {ArcCos}(x)|2) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 431
Rule 436
Rule 507
Rubi steps
\begin {align*} \int \frac {x^2}{\sqrt {1-x^2} \sqrt {-1+2 x^2}} \, dx &=\frac {1}{2} \int \frac {1}{\sqrt {1-x^2} \sqrt {-1+2 x^2}} \, dx+\frac {1}{2} \int \frac {\sqrt {-1+2 x^2}}{\sqrt {1-x^2}} \, dx\\ &=-\frac {1}{2} E\left (\left .\cos ^{-1}(x)\right |2\right )-\frac {1}{2} F\left (\left .\cos ^{-1}(x)\right |2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(37\) vs. \(2(17)=34\).
time = 0.27, size = 37, normalized size = 2.18 \begin {gather*} \frac {\sqrt {1-2 x^2} \left (-E\left (\left .\sin ^{-1}(x)\right |2\right )+F\left (\left .\sin ^{-1}(x)\right |2\right )\right )}{2 \sqrt {-1+2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 34, normalized size = 2.00
method | result | size |
default | \(\frac {\left (\EllipticF \left (x , \sqrt {2}\right )-\EllipticE \left (x , \sqrt {2}\right )\right ) \sqrt {-2 x^{2}+1}}{2 \sqrt {2 x^{2}-1}}\) | \(34\) |
elliptic | \(\frac {\sqrt {-\left (2 x^{2}-1\right ) \left (x^{2}-1\right )}\, \sqrt {-2 x^{2}+1}\, \left (\EllipticF \left (x , \sqrt {2}\right )-\EllipticE \left (x , \sqrt {2}\right )\right )}{2 \sqrt {2 x^{2}-1}\, \sqrt {-2 x^{4}+3 x^{2}-1}}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.53, size = 23, normalized size = 1.35 \begin {gather*} -\frac {\sqrt {2 \, x^{2} - 1} \sqrt {-x^{2} + 1}}{2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\sqrt {- \left (x - 1\right ) \left (x + 1\right )} \sqrt {2 x^{2} - 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.06 \begin {gather*} \int \frac {x^2}{\sqrt {1-x^2}\,\sqrt {2\,x^2-1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________